package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class F_BuscarProfesor extends org.apache.struts.action.ActionForm {
    
    
    public F_BuscarProfesor() {
        super();
        ci = 0;
        vengoDe = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        ci = 0;
        vengoDe = "";

    }

    public static F_BuscarProfesor clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        F_BuscarProfesor fF_BuscarProfesor = (F_BuscarProfesor) sess.getAttribute("F_BuscarProfesor");
        if (fF_BuscarProfesor == null) {
            fF_BuscarProfesor = new F_BuscarProfesor();
            sess.setAttribute("F_BuscarProfesor", fF_BuscarProfesor);
        } else {
            fF_BuscarProfesor.reset(mapping, request);
        }
        return fF_BuscarProfesor;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

    /**
     * Holds value of property ci.
     */
    private int ci;

    /**
     * Getter for property ci.
     * @return Value of property ci.
     */
    public int getCi() {
        return this.ci;
    }

    /**
     * Setter for property ci.
     * @param ci New value of property ci.
     */
    public void setCi(int ci) {
        this.ci = ci;
    }

    /**
     * Holds value of property vengoDe.
     */
    private String vengoDe;

    /**
     * Getter for property vengoDe.
     * @return Value of property vengoDe.
     */
    public String getVengoDe() {
        return this.vengoDe;
    }

    /**
     * Setter for property vengoDe.
     * @param vengoDe New value of property vengoDe.
     */
    public void setVengoDe(String vengoDe) {
        this.vengoDe = vengoDe;
    }




}